﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Debug="true" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="css/common.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function AskDel(id) {
            if (confirm("确定要删除")) {
                window.location = "Del.ashx?id=" + id;
            }
        }

        function NextPage() { //下一页
            window.location = "Default.aspx?jump=1&page=<%=nowPage %>";  //告诉后台如果参数是1的话，就是点击了下一页
        }
        function PrePage() {//上一页
            window.location = "Default.aspx?jump=0&page=<%=nowPage %>"; //告诉后台如果参数是0的话，就是点击了上一页
        }
    </script>
    <style type="text/css">
        #content{width:900px;}
        .listTable td
        {
            background-color:#4f81bc; color:#fff;font-size:16px;
        }
        .listTable td a{ color:#000000;}
        .listTable td a:hover{ color:#000000;}
        .listTable td a:vistied{ color:#000000;}
    </style>
</head>
<body>
<center>
<form id="fLogin" action="" method="post" runat="server">
    <table id="title" border="0">
        <tr>
            <td>学生列表</td>
        </tr>
    </table>
    
    <table id="content" border="0" cellpadding="0" cellspacing="0">
    <tr><td valign="top">
        <table class="listTable"  cellpadding="0" cellspacing="1" style="background-color:#000000;font-family:'微软雅黑'; font-size:12px; width:99%;border:1px solid #395988; ">
        <tr>
            <td>ID</td>
            <td>班级名称</td>
            <td>登录名</td>
            <td>中文名</td>
            <td>性别</td>
            <td>电话</td>
            <td>注册时间</td> 
            <td>操作</td> 
        </tr>
        <%=sbTableContent.ToString()%>
        </table>
     </td></tr>
    </table>
    <input type="button" id="btnPrePage" value="上一页" onclick="PrePage()" class="btnC" />
     <input type="button" id="btnNextPage" value="下一页" onclick="NextPage()" class="btnC" />
</form>
</center>
</body>
</html>
